package tr.edu.ege.seagent.hobnobontology;

import tr.edu.ege.seagent.hobnobontology.instance.HobNobHandleRDFDataOverHttp;

public class ModelWriter {

	public static final String filePathSchema = "/home/etmen/Desktop/yanyanayizYeni.rdfs";
	public static final String filePathInstance = "/home/etmen/Desktop/yanyanayizOrnekYeni.rdfs";

	public static void main(String[] args) {

		// Model instance = new HobNobSampleModelCreator().createNewInstance();
		// Model schema = new HobNobSchemaCreator().createSchema();
		//
		// try {
		// schema.write(new PrintStream(filePathSchema));
		// instance.write(new PrintStream(filePathInstance));
		//
		// } catch (Exception e) {
		// System.out.println(e);
		// }

		// HobNobModelSearcher searcher = new HobNobModelSearcher();
		// searcher.searchNotificationAtLocationHasMoreThanThreeMillionPopulation();
//		 Model sampleModel = new HobNobSampleModelCreator()
//		 .createNewInstanceWithIstanbulandCafePiNotification();
//		 HobNobTDBStore tdb = new HobNobTDBStore(sampleModel);

		// tdb.searchNotificationsFromTDBStore();
		//
		// HobNobNamedGraph namedGraph = new HobNobNamedGraph();
		// namedGraph.createNamedGraphWithOtherCreationAlgorithm();
		// Model model = ModelFactory.createDefaultModel();
		// model.read("http://localhost:8081/" +
		// "home/etmen/workspace/Yanyanayiz.biz/StoreTDB");
		//
		// System.out.println(model.write(System.out));

		// new HobNobSPARQLQueries().findLocationOfSeagentNotification();
		
		
		HobNobHandleRDFDataOverHttp http = new HobNobHandleRDFDataOverHttp();
		http.putNotificationStatementsToTDBOverHttp();
		
	}

}
